<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ThemeUtils.setNightMode - core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">core</a>&nbsp;/&nbsp;<a href="../index.html">com.vmadalin.core.utils</a>&nbsp;/&nbsp;<a href="index.html">ThemeUtils</a>&nbsp;/&nbsp;<a href="./set-night-mode.html">setNightMode</a><br/>
<br/>
<h1>setNightMode</h1>
<a name="com.vmadalin.core.utils.ThemeUtils$setNightMode(kotlin.Boolean, kotlin.Long)"></a>
<code><span class="keyword">fun </span><span class="identifier">setNightMode</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.core.utils.ThemeUtils$setNightMode(kotlin.Boolean, kotlin.Long)/forceNight">forceNight</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">, </span><span class="identifier" id="com.vmadalin.core.utils.ThemeUtils$setNightMode(kotlin.Boolean, kotlin.Long)/delay">delay</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html"><span class="identifier">Long</span></a>&nbsp;<span class="symbol">=</span>&nbsp;0L<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Force <a href="#">AppCompatDelegate</a> Mode to night/notnight.</p>
<h3>Parameters</h3>
<p><a name="forceNight"></a>
<code>forceNight</code> - Boolean that force night mode otherwise notnight is configured.</p>
<p><a name="delay"></a>
<code>delay</code> - Delay to apply mode changes.</p>
</BODY>
</HTML>
